package com.example.comsys.model;

import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * api return model
 *
 * @author wjh
 * @date 2020/1/1, 周三
 */
@Getter
@Setter
@ToString
public class Result<D> implements Serializable {

  private boolean success = false;
  private String code;
  private String message;

  private D data;
}

